package cn.rongdao.jrkabao.ui.cashadvance.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.cashadvance.CreditAndDepositCardBean;
import cn.rongdao.jrkabao.ui.cashadvance.uicomponent.SelectCardUIComponent;

/**
 * Created by jack on 2017/9/12
 */

public class DialogSelectCardViewHolder extends FRBaseRecyclerViewHolder<CreditAndDepositCardBean> {

    private SelectCardUIComponent selectCardUIComponent;

    public DialogSelectCardViewHolder(View view) {
        super(view);
        selectCardUIComponent = (SelectCardUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(CreditAndDepositCardBean creditAndDepositCardBean) {
        selectCardUIComponent.setDialogSelectCardContent(creditAndDepositCardBean);
    }
}
